treeview: Ensure search popover is properly inserted
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 May 2020 17:16:52 +0000 (13:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 12:15:55 +0000 (08:15 -0400)
commita11119d317206e5de4f34105685686b8bd602c71
tree1d8082e6c17c7d98123321ca95f47eadc182b50a
parent756720fde490c36864134e9adef42b6a655b4668
treeview: Ensure search popover is properly inserted

The css tree and the widget tree are not in sync, so we need
to explicitly set the parent of the css node before inserting
the widget, or else we end up with critical warnings and a
non-working popover.

This can be seen in the print dialog, when moving the focus
to the printer list.
gtk/gtktreeview.c